

package com.jingdun.sport.bean.app.param;

import javax.validation.constraints.Pattern;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "发送验证码参数")
public class SendSmsParam {

    @ApiModelProperty(value = "手机号")
    @Pattern(regexp = "1[0-9]{10}", message = "请输入正确的手机号")
    private String mobile;

    @ApiModelProperty(value = "发送短信类型", example = "0绑定手机验证码类型，1注册手机验证码类型")
    private int msgType;


}
